package com.huayi.sukai;

import com.android.thinkive.framework.ThinkiveInitializer;

import io.dcloud.application.DCloudApplication;

/**
 * Created by mac on 2017/3/30.
 */

public class SukaiApplication extends DCloudApplication {
    private static SukaiApplication instance;
    @Override
    public void onCreate() {
        super.onCreate();
        ThinkiveInitializer.getInstance().initialze(this);
        CrashHandler.getInstance().init(getApplicationContext());
    }

    public static SukaiApplication getInstance() {
        if (instance == null) {
            instance = new SukaiApplication();
        }
        return instance;
    }
}
